Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Adding Video Effects to a QuickTime Movie

This section explains the steps you need to take in order to add video effects to a QuickTime movie. In brief, you proceed as follows:

  1. You create and arrange any source tracks that will be used by the effect.
  2. You add a new effect track to your movie: the offset and duration of the track determine when the effect takes place.
  3. You create an effect description that selects the particular effect you want and supplies values for any parameters the effect has.
  4. You create an input map that defines which tracks in the movie serve as sources for the effect.
  5. Finally, you add the effect description as a new sample to the media of the effect track. As part of this process, you create a sample description, which describes the sample being added.

There are high-level routines that can be used to greatly simplify this process. For example, QTCreateStandardParameterDialog can automatically obtain a list of available effects, allow the user to choose an effect and set its parameters, and return an effect description for the chosen effect.

Working with Source Tracks

Creating an Effects Track

Creating an Effect Description

Creating an Input Map

Adding the Effect Description to the Track


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |